#include <string>

// set ignore_wrong to true to not throw on a unrepresentable/bad utf8 string.
std::string UTF8ToBrokenLatin1(const std::string &utf8, bool ignore_wrong=false);
std::string Latin1toUTF8( const char* szStr );
